interface BaseResp {
  code: number
  message: string
}

//mock基础响应接口
export interface Resp<T = null> extends BaseResp {
  total?: number
  data: T
}

//分页接口数据模型
export interface PageData<T> {
  current: number
  pages: number
  size: number
  total: number
  records: T[]
}
